package com.yxjwzpx.management.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 故障类型管理对象 fault_type
 * 
 * @author yxjwzpx
 * @date 2025-04-08
 */
public class FaultType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 故障类型ID */
    private Long faultTypeId;

    /** 故障类型名称 */
    @Excel(name = "故障类型名称")
    private String faultTypeName;

    /** 故障类型描述 */
    @Excel(name = "故障类型描述")
    private String description;

    public void setFaultTypeId(Long faultTypeId) 
    {
        this.faultTypeId = faultTypeId;
    }

    public Long getFaultTypeId() 
    {
        return faultTypeId;
    }

    public void setFaultTypeName(String faultTypeName) 
    {
        this.faultTypeName = faultTypeName;
    }

    public String getFaultTypeName() 
    {
        return faultTypeName;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("faultTypeId", getFaultTypeId())
            .append("faultTypeName", getFaultTypeName())
            .append("description", getDescription())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
